import request from '@/api/request.js';

export function getData(){
	return new Promise((resolve, reject) =>{
		request('/analy/total', 'GET')
		  .then((res) => {
		    resolve(res);
		  })
		  .catch((err) => {
		    reject(err);
		  });
	})
}